
const useRegistrarStore = defineStore(
    'registrar',

    {
        state: () => ({
            name: '555',
            peopleList:[],
            joinWayList:[],
            classList:[],
            gradeList:[]

        }),
        actions:{
            setPeopleList(item) {
                this.peopleList=item
              },
            setJoinWayList(item) {
                this.joinWayList=item
              },
            setClassList(item) {
                this.classList=item
              },
            setGradeList(item) {
                this.gradeList=item
              },
        }

    })

export default useRegistrarStore